package org.etl.kfrwe;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("org.etl.kfrwe.dao")
//@EnableScheduling
public class KfrweApplication {

	public static void main(String[] args) {
		SpringApplication.run(KfrweApplication.class, args);
		String cmd = "C:\\Users\\Liuxw\\AppData\\Local\\Google\\Chrome\\Application\\chrome.exe http://localhost:8011/kfrwe/index";
		Runtime run = Runtime.getRuntime();
		try{
			run.exec(cmd);
		}catch (Exception e){
			e.printStackTrace();
		}
	}
}
